package com.itheima.tist;

public class TestStudent {
    public static void main(String[] args) {
        Student stu1= new Student();
        System.out.println("打印对象名--->stu1");
        System.out.println(stu1);
        stu1.setName("张三");
        System.out.println("---------");
        Student stu2= new Student();
        System.out.println("打印对象名--->stu2");
        System.out.println(stu2);
        stu2.setName("李四");


        stu2.demo();
    }
}
